prayer of last resort

Translations
молитва в последнюю очередь
When all else failed, they turned to the prayer of last resort.
Когда все остальное не сработало, они обратились к молитве в последнюю очередь.
Definitions
A 'prayer of last resort' refers to a plea or request for help, guidance, or intervention made when all other options have failed or when someone is in a desperate situation. It often implies turning to prayer as a final hope after exhausting practical solutions.